package com.asap.demo.table;

import java.io.Serializable;
import java.util.List;

public class JsonTable implements Serializable {

	// 表名
	private String tableName;
	// 消息中的主键名称(对应于表中)
	private String topicPrimaryKey;
	private String primaryKey;
	// 预留字段
	private String countingField;
	// 预留字段
	private String timeFiled;
	// 预留字段
	private String operatorName;
	// 预留字段
	private String operatorValue;
	// 字段定义对象列表
	private List<JsonField> jsonFieldList;

	public String getTopicPrimaryKey() {
		return topicPrimaryKey;
	}

	public void setTopicPrimaryKey(String topicPrimaryKey) {
		this.topicPrimaryKey = topicPrimaryKey;
	}
	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public String getOperatorValue() {
		return operatorValue;
	}

	public void setOperatorValue(String operatorValue) {
		this.operatorValue = operatorValue;
	}


	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public String getCountingField() {
		return countingField;
	}

	public void setCountingField(String countingField) {
		this.countingField = countingField;
	}

	public String getTimeFiled() {
		return timeFiled;
	}

	public void setTimeFiled(String timeFiled) {
		this.timeFiled = timeFiled;
	}

	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public List getJsonFieldList() {
		return jsonFieldList;
	}
	public void setJsonFieldList(List jsonFieldList) {
		this.jsonFieldList = jsonFieldList;
	}

	@Override
	public String toString() {
		return "JsonTable{" +
				"tableName='" + tableName + '\'' +
				", topicPrimaryKey='" + topicPrimaryKey + '\'' +
				", primaryKey='" + primaryKey + '\'' +
				", countingField='" + countingField + '\'' +
				", timeFiled='" + timeFiled + '\'' +
				", operatorName='" + operatorName + '\'' +
				", operatorValue='" + operatorValue +
				'}';
	}
}
